package com.tqjc.system.core.pipeline.thread;

import com.tqjc.system.core.util.SpringUtils;
import com.tqjc.system.system.entity.SysPLCRecordEntity;
import com.tqjc.system.system.service.SysPLCRecordService;

/**
 * @description:
 * @Author: 86195
 * @Date: 2023/12/31 17:15
 **/
public class PLCRecordThread extends Thread{

    private SysPLCRecordEntity entity;

    @Override
    public void run() {
        SysPLCRecordService service = SpringUtils.getBean(SysPLCRecordService.class);
        service.save(entity);
    }
}
